package com.isunland.managesystem.ui;

import android.support.v4.app.Fragment;
import com.isunland.managesystem.entity.ProjectCollectOriginal.ProjectCollectContent;

public class DetailProjectCountActivity extends SingleFragmentActivity {
  private ProjectCollectContent content;
  private String queryStr;
  private ProjectCountContent queryContent;

  @Override protected Fragment createFragment() {
    content = (ProjectCollectContent) getIntent().getSerializableExtra(
        DetailProjectCountFragment.EXTRA_CONTENT);
    //		queryStr=getIntent().getStringExtra(DetailProjectCountFragment.EXTRA_QUERY);
    queryContent = (ProjectCountContent) getIntent().getSerializableExtra(
        DetailProjectCountFragment.EXTRA_QUERY);
    //		return DetailProjectCountFragment.newInstance(content);
    //		return DetailProjectCountFragment.newInstance(content,queryStr);
    return DetailProjectCountFragment.newInstance(content, queryContent);
  }
}
